package com.hengxing.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;


@Configuration
@ComponentScan({"com.hengxing.controller", "com.hengxing.config"}) //路径扫描控制类文件
@EnableWebMvc //开启json转换对象
public class SpringMvcConfig {
}
